province = "shanghi"
print(province)

lang = '千千阙歌#你是'
print(len(lang))

a = r'defined wo\nrd' #r使得字符串中的\n不会被转义
b= r"defined wo\nrd"
print( a)
print(b)

c='1975'
print(c.isdigit())
print(type(c))
d = 1975
# print(d.isdigit()) #AttributeError: 'int' object has no attribute 'isdigit' int对象没有isdigit方法

e = 'does\'t'
print(e)
f= "does't"
print(f)

g = '"Yes," they said.'
print( g)
f = "\"Yes,\" they said."
print(f)
h = '"Isn\'t," they said.'
print(h)


j = 'First line.\nSecond line.'
print(j)

h = 'aa\nb\n\\'
print(h)

h1 = """aa
b
\\"""
print(h1)

l1 = "小伙伴"
l2 = "buddy"
print(l1 + l2)

l3 = 'Py' 'thon'   'Ok'
print(l3)

print(5 * 'hello')

les = ('Put several strings within parentheses '
        'to have them joined together.'
       '嘎嘎嘎')
print(les)
